package com.battery.dao;

import com.battery.pojo.MerChant;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MerChantDao {
    public int insert(MerChant merChant);
    public List<MerChant> findAllMerChants();
    public int delete(@Param("mer_id") int id);
    public MerChant findOne(int id);
    public int updateMer(MerChant merChant);

    public List<MerChant> findAllMerChantsByKey(@Param("key") String key);
}
